{admin title="Edit Roles"}
	{if count($roles) gt 0}
		<table class="full">
			<tr>
				<th>Role</th>
				<th>Actions</th>
			</tr>
			{foreach from=$roles item=role key=index}
				<tr class="row-{if $index mod 2 eq 0}a{else}b{/if}">
					<td><a href="/role/edit/id/{$role.id}">{$role.shortname}</a></td>
					<td>
						<a href="/resource/edit/id/{$role.id}">Resource Permissions</a>
						| <a href="/navigation/editrole/id/{$role.id}">Customize Navigation</a>
					</td>
				</tr>
			{/foreach}
		</table>
	{/if}
{/admin}